package Tests;

import system.BlogSystem;

public class UserStoryFacade10 {
	private BlogSystem system = BlogSystem.getInstance();
	
	public void loadData(){
		
	}

	public String logon(String login, String senha) throws Exception {
		return system.login(login, senha);

	}
	
	public String getBlogByLogin(String login, int index) throws Exception{
		return system.getBlogByLogin(login, index);
	}
	
	public String createPost(String sessionId, String blogId, String title,
			String text) throws Exception {
		return system.createPost(sessionId, blogId, title, text);

	}
	
	public void deleteBlog(String sessionId, String blogId) throws Exception{
		system.deleteBlog(sessionId, blogId);
	}
	
	public void getPostInformation(String postId, String attribute) throws Exception{
		system.getPostInformation(postId, attribute);
	}
	
	public void logoff(String sessionId) throws Exception{
		system.logout(sessionId);
	}
	
	public void saveData(){
		
	}


}
